import request from '@/utils/request'

// 获取企业列表信息接口
export const enterpriseList=(params)=>{
    return request({
        url:'/enterprise/list',
        params
    })
}

// 企业添加
export const enterpriseAdd=(data)=>{
    return request({
        url:'/enterprise/add',
        method:'post',
        data
    })
}
// 企业编辑接口
export const enterpriseEdit=(data)=>{
    return request({
        url:'/enterprise/edit',
        method:'post',
        data
    })
}
// 删除
export const enterpriseRemove=(data)=>{
    return request({
        url:'/enterprise/remove',
        method:'post',
        data
    })
}

// 状态设置
export const enterpriseStatus=(data)=>{
    return request({
        url:'/enterprise/status',
        method:'post',
        data
    })
}
